home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer CD Series 1994 February: Tool Chest
/
Dev.CD Feb 94.toast
/
Tool Chest
/
Development Platforms
/
MPW Related
/
MPW Interfaces
/
CIncludes
/
StdDef.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-09-17
|
428 b
|
31 lines
|
[
TEXT/MPS
]
/*
StdDef.h -- Common definitions
Copyright Apple Computer,Inc. 1987-1990
All rights reserved.
*/
#ifndef __STDDEF__
#define __STDDEF__
typedef int ptrdiff_t;
#ifndef __size_t__
#define __size_t__
typedef unsigned int size_t;
#endif
#ifndef __wchar_t__
#define __wchar_t__
typedef short wchar_t;
#endif
#ifndef NULL
#define NULL 0
#endif
#define offsetof(structure,field) ((size_t)&((structure *) 0)->field)
#endif